<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="/neu15_yuejian/Public/css/pintuer.css">
<link rel="stylesheet" href="/neu15_yuejian/Public/css/admin.css">
<script src="/neu15_yuejian/Public/js/jquery.js"></script>
<script src="/neu15_yuejian/Public/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head"><strong class="icon-reorder"> 活动信息列表</strong></div>
  <div class="padding border-bottom">  
  <button type="button" class="button border-yellow" onclick="window.location.href='#add'"><span class="icon-plus-square-o"></span> 添加活动</button>
  </div>
  <table class="table table-hover text-center">
    <tr>
      <th width="10%">ID</th>
      <th width="10%">活动名</th>
      <th width="10%">活动时间</th>
      <th width="20%">地址</th>
      <th width="10%">费用</th>
       <th width="10%">咨询热线</th>
       <th width="15%">活动简介</th>
      <th width="15%">操作</th>
    </tr>
   
     <?php if(is_array($activity)): $i = 0; $__LIST__ = $activity;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$a): $mod = ($i % 2 );++$i;?><tr>
      <td><?php echo ($a["aid"]); ?></td>     
      <td><?php echo ($a["aname"]); ?></td>
      <td><?php echo ($a["adate"]); ?></td>
      <td><?php echo ($a["aplace"]); ?></td>
      <td><?php echo ($a["charge"]); ?></td>
      <td><?php echo ($a["atel"]); ?></td>
      <td><?php echo ($a["acontent"]); ?></td>
      <td><div class="button-group">
      <a class="button border-main" href="#add"><span class="icon-edit"></span> 修改</a>
      <a class="button border-red" href="javascript:void(0)" onclick="return del(1,1)"><span class="icon-trash-o"></span> 删除</a>
      </div>
      </td>
    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
  
    
  </table>
</div>
<script type="text/javascript">
function del(id,mid){
	if(confirm("您确定要删除吗?")){
	
	}
}
</script>
<div class="panel admin-panel margin-top" id="add">
  
</div>
</body></html>